import NativeCaller from "../NativeCaller";
import { ActionType } from "../net/Enum";
import ServiceLogic from "../net/ServerLogic";

const { ccclass, property } = cc._decorator;

//@ts-ignore
const i18n = require('LanguageData');
@ccclass
export default class RateusDialog extends cc.Component {

    @property(cc.RichText)
    content: cc.RichText = null;

    start() {
        this.content.string = i18n.t("rateuscontent");
    }

    go() {
        NativeCaller.showRateus();
        this.node.destroy()
    }

    close() {
        this.node.destroy()
    }
}
